Reducing opioid use and ensuring pain management